package TeleRobot;

public class Arc {
    public double x;
    public double y;
    public double size;
    public double startAngle;
    public double arcAngle;
    
    
    Arc(double x1, double y1, double s, double sA, double aA)
    {
        x = x1;
        y = y1;
        size=s;
        startAngle=sA;
        arcAngle=aA;
    }
    
    public void set(Arc a)
    {
        x = a.x;
        y = a.y;
        size = a.size;
        startAngle = a.startAngle;
        arcAngle = a.arcAngle;
    }
    
    @Override
    public Arc clone()
    {
         return new Arc(x,y,size,startAngle,arcAngle);
    }

}
